package com.hyt.it.ogt.kq.service.model.param;

import com.google.common.collect.Lists;
import com.hyt.it.ogt.kq.service.model.entity.Candidate;
import com.hyt.it.ogt.kq.service.model.entity.CandidatePhoto;
import com.hyt.it.ogt.kq.service.model.entity.CandidateSubject;
import com.hyt.it.ogt.kq.service.model.entity.admission.CandidateInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 推送考生参数
 * </p>
 *
 * @author liuq
 * @since 2021-08-31
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "推送考生参数")
public class PushCandidateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报名项目id")
    private String projectId;

    @ApiModelProperty(value = "报名机构id")
    private String officeId;

    @ApiModelProperty(value = "推送类型：insert,update,delete")
    private String pushType;

    @ApiModelProperty(value = "考生")
    private List<Candidate> candidateList;

    @ApiModelProperty(value = "考生科目关联数据")
    private List<CandidateSubject> candidateSubjectList;

    @ApiModelProperty(value = "考生照片")
    private List<CandidatePhoto> candidatePhotoList;

    @ApiModelProperty(value = "考生信息")
    private List<CandidateInfo> candidateInfoList = Lists.newArrayList();
}
